package com.ruoyi.business.service;

import com.ruoyi.business.domain.CarPackageAudit;
import com.ruoyi.business.domain.HistoricActivity;
import com.ruoyi.business.domain.ServiceItem;

import java.util.List;

/**
 * Created by lanxw
 */
public interface ICarPackageAuditService {
    void insertCarPackageAudit(CarPackageAudit carPackageAudit);
    void updateCarPackageAudit(CarPackageAudit carPackageAudit);
    List<CarPackageAudit> selectCarPackageAuditList(CarPackageAudit carPackageAudit);
    void cancelApply(String instanceId);
    CarPackageAudit getCarPackageAudit(String id);
    List<CarPackageAudit> findTodoList(CarPackageAudit carPackageAudit);
    void complete(String taskId, String auditStatus, String comment);
    void updateServiceItem(String carPackageAuditId, ServiceItem serviceItem);
    void reApply(String taskId, String carPackageAuditId);
    List<CarPackageAudit> findDoneList(CarPackageAudit carPackageAudit);

    List<HistoricActivity> selectHistoryList(String instanceId);
}
